package cn.edu.scau.cmi.huangzhiyuan.db.client;

import javafx.scene.layout.BorderPane;
import javafx.scene.layout.FlowPane;
import javafx.scene.layout.GridPane;
import javafx.scene.layout.VBox;

public class MainPane extends BorderPane {

	public StudentPane studentPane;
	public TeacherPane teacherPane;
	
	public MainPane() {
		setStudentPane();
		setTeacherPane();
	}
	
	private void setStudentPane() {
		studentPane = new StudentPane();
		setLeft(new VBox(studentPane));
	}
	
	private void setTeacherPane() {
		teacherPane = new TeacherPane();
		setRight(new VBox(teacherPane));
	}

}
